<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="libman.css">
<TITLE>
Cumulative Constraint and Resource Profiles
</TITLE>
</HEAD>
<BODY >
<A HREF="libman022.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="libman021.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="libman024.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc52">4.2</A>&nbsp;&nbsp;Cumulative Constraint and Resource Profiles</H2>
The library <B>cumulative</B> implements the cumulative scheduling constraint.
It is based on the IC library and is loaded using one of 
<BLOCKQUOTE CLASS="quote"><PRE CLASS="verbatim">
:- use_module(library(ic_cumulative)).
:- lib(ic_cumulative).
</PRE></BLOCKQUOTE>
<DL CLASS="description" COMPACT=compact><DT CLASS="dt-description">
<A HREF="../bips/lib/ic_cumulative/cumulative-4.html"><B>cumulative(+StartTimes, +Durations, +Resources, ++ResourceLimit)</B></A><A NAME="@default150"></A><DD CLASS="dd-description"><BR>
<A NAME="@default151"></A>
A cumulative scheduling constraint. StartTimes, Durations and Resources
are lists of equal length N of integer variables or integers.
ResourceLimit is an integer. The declarative meaning is:
If there are N tasks, each starting at a certain start time, having
a certain duration and consuming a certain (constant) amount of
resource, then the sum of resource usage of all the tasks does not
exceed ResourceLimit at any time.<BR>
<BR>
<DT CLASS="dt-description"><A HREF="../bips/lib/ic_cumulative/profile-4.html"><B>profile(+StartTimes, +Durations, +Resources, -Profile)</B></A><A NAME="@default152"></A><DD CLASS="dd-description"><BR>
<A NAME="@default153"></A>
StartTimes, Durations, Resources and Profile
are lists of equal length N of integer variables or integers
with the same meaning as in cumulative/4.
The list Profile indicates the level of resource usage at the
starting point of each task.
</DL>
<HR>
<A HREF="libman022.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="libman021.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="libman024.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
